package com.superMall.service;

import com.superMall.common.ServerResponse;
import com.superMall.vo.CartVO;

/**
 * Created by guanwei on 2017/11/21.
 */
public interface ICartService {
    ServerResponse<CartVO> add(Integer userId, Integer productId, Integer count);
    ServerResponse<CartVO> update(Integer userId, Integer productId, Integer count);
    ServerResponse<CartVO> delete(Integer userId,String productIds);
    ServerResponse<CartVO> list(Integer userId);
    ServerResponse<CartVO> selectOrUnSelect(Integer userId,Integer productId,Integer checked);
    ServerResponse<Integer> getCartProductCount(Integer userId);
}
